<template>
	<view class="wrapper">
		<view class="navigate">
			<view class="left">
				<uni-icons type="left" size="27" color="#000" @click="navback"></uni-icons>
			</view>
			<view class="center">持有</view>
			<view class="right">交易记录</view>
		</view>
		<view class="emptydata" style="height: 88rpx;"></view>
		<view class="fenxi-header">
			<view class="title">理财总资产(元)<uni-icons type="eye" size="20" color="#fff" @click="navback"></uni-icons></view>
			<view class="fenxilabel">资产分析</view>
			<view class="money">0.00</view>
			<view class="money-bottom">
				<view class="money-bottom-li">
					<view class="money-bottom-li-1">昨日收益(元)<uni-icons type="info" size="15" color="#fff" @click="navback"></uni-icons></view>
					<view class="money-bottom-li-2">0.00</view>
				</view>
				<view class="money-bottom-li">
					<view class="money-bottom-li-1">昨日收益(元)<uni-icons type="info" size="15" color="#fff" @click="navback"></uni-icons></view>
					<view class="money-bottom-li-2">0.00</view>
				</view>
			</view>
		</view>
		<view class="fenxi-content">
			<view class="list">
				<view class="list-li">
					<view class="list-li-li type">
						<view class="type-li" style="width: 200rpx;">名称</view>
						<view class="type-li">金额/昨日收益</view>
						<view class="type-li">持有收益/率</view>
					</view>
					<view class="list-li-li">
						<view class="value1">长信稳航30天持有期 中短债债券A</view>
						<view class="value2"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
						<view class="value3"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
					</view>
					<view class="list-li-li">
						<view class="value1">长信稳航30天持有期 中短债债券A</view>
						<view class="value2"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
						<view class="value3"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
					</view>
					<view class="list-li-li">
						<view class="value1">长信稳航30天持有期 中短债债券A</view>
						<view class="value2"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
						<view class="value3"><view class="vv1">50,580.55</view><view class="vv2">50,580.55</view></view>
					</view>
				</view>
			</view>
			<!-- <view class="empty">
				<image src="../../static/trade/blocktrading/empty.png" mode=""></image>
				<view class="label">~暂无数据~</view>
			</view> -->
		</view>
		<view class="tips">
			<view class="title">风险提示:</view>
			<view class="content">市场有风险，投资需谨慎。基金过往业绩并不预示其未来表现 历史数据仅供参考，不构成任何投资建议。投资者应自主决策 风险自担。</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss">
	page{
		width: 100%;
		height: 100%;
		background-color: #F6F6FB;
	}
	.wrapper {
		height: 100%;
		box-sizing: border-box;
		padding-top: 1rpx;
	}
	.navigate{
		background-color: rgb(255, 255, 255);
		color: rgb(0, 0, 0);
		position: fixed;
		left: var(--window-left);
		right: var(--window-right);
		height: 44px;
		height: calc(44px + constant(safe-area-inset-top));
		height: calc(44px + env(safe-area-inset-top));
		padding: 7px 3px;
		padding-top: calc(7px + constant(safe-area-inset-top));
		padding-top: calc(7px + env(safe-area-inset-top));
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		align-items: center;
		overflow: hidden;
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		box-sizing: border-box;
		z-index: 998;
		-webkit-transition-property: all;
		transition-property: all;
		font-weight: bold;
		.left{
			font-weight: 500;
			margin: 0 4rpx;
		}
		.center{
			width: 548rpx;
			text-align: center;
		}
		.right{
			margin-right: 10rpx;
			font-weight: bold;
			font-size: 24rpx;
			color: #262626;
		}
	}
	.fenxi-header{
		margin: 24rpx auto;
		width: 684rpx;
		height: 314rpx;
		border-radius: 20rpx;
		background: url('../../static/user/fenxi/fenxi.png') center center no-repeat;
		background-size: 110% 110%;
		position: relative;
		padding-top: 1rpx;
		.title{
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 20rpx;
			font-size: 28rpx;
			color: #F6F6FB;
			margin: 40rpx auto 20rpx;
		}
		.fenxilabel{
			width: 155rpx;
			height: 44rpx;
			line-height: 44rpx;
			text-align: center;
			background: #FFFFFF;
			border-radius: 22rpx 0rpx 0rpx 22rpx;
			position: absolute;
			top: 44rpx;
			right: 0;
			font-weight: bold;
			font-size: 24rpx;
			color: #08377D;
		}
		.money{
			font-weight: 800;
			font-size: 42rpx;
			color: #F6F6FB;
			text-align: center;
			margin-bottom: 40rpx;
		}
		.money-bottom{
			display: flex;
			justify-content: space-around;
			align-items: center;
			.money-bottom-li{
				text-align: center;
				.money-bottom-li-1{
					font-weight: 500;
					font-size: 24rpx;
					color: #F6F6FB;
					display: flex;
					justify-content: center;
					align-items: center;
					gap: 20rpx;
				}
				.money-bottom-li-2{
					font-weight: 800;
					font-size: 32rpx;
					color: #F6F6FB;
				}
			}
		}
	}
	.fenxi-content{
		margin: 0 auto 24rpx;
		width: 684rpx;
		min-height: 439rpx;
		background: #FFFFFF;
		box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(8,55,125,0.2);
		border-radius: 20rpx;
		padding-top: 1rpx;
		.list{
			padding: 23rpx;
			.type{
				height: 76rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-size: 24rpx;
				color: #999999;
			}
			.list-li{
				.list-li-li{
					display: flex;
					justify-content: space-between;
					align-items: center;
					padding: 24rpx 0;
					border-bottom: 1rpx solid #e5e5e5;
					.value1{
						width: 218rpx;
						font-weight: bold;
						font-size: 24rpx;
						color: #262626;
						line-height: 36rpx;
					}
					.value2{
						text-align: right;
						font-weight: bold;
						font-size: 24rpx;
						color: #262626;
						line-height: 36rpx;
						.vv2{
							font-weight: 500;
							font-size: 24rpx;
							color: #999999;
							line-height: 36rpx;
						}
					}
					.value3{
						text-align: right;
						font-weight: bold;
						font-size: 24rpx;
						color: #EA0E00;
						line-height: 36rpx;
						.vv2{
							font-weight: 500;
							font-size: 24rpx;
							color: #EA0E00;
							line-height: 36rpx;
						}
					}
				}
			}
		}
	}
	.empty {
		margin-top: 40rpx;
		width: 244rpx;
		height: 113rpx;
		margin: 100rpx auto;
		text-align: center;
		font-size: 24rpx;
		color: #999999;
	
		image {
			width: 100%;
			height: 100%;
		}
	}
	.tips{
		padding: 0 33rpx;
		.title{
			font-size: 24rpx;
			color: #262626;
		}
		.content{
			font-size: 24rpx;
			color: #999999;
			line-height: 36rpx;
		}
	}
</style>